import json

BLOWFISH_SECRET = 'g4el58wc0zvf9na1'

PRIVATE_API_URL = "https://www.deezer.com/ajax/gw-light.php?%s"
PUBLIC_API_URL = "https://api.deezer.com/"
USER_PICTURES_URL = "https://e-cdns-images.dzcdn.net/images/user/%s/250x250-000000-80-0-0.jpg"
ALBUM_PICTURES_URL = "https://e-cdns-images.dzcdn.net/images/cover/%s/1200x1200-000000-80-0-0.jpg"
ALBUM_PICTURES_URL_THUMBNAIL = "https://e-cdns-images.dzcdn.net/images/cover/%s/200x200-000000-80-0-0.jpg"
ARTIST_PICTURES_URL = "https://e-cdns-images.dzcdn.net/images/artist/%s/200x200-000000-80-0-0.jpg"

def dump_json_to_file(data, file_name = "data.json"):
  with open(file_name, 'w') as outfile:
    json.dump(data, outfile, indent=2)

